#   求斐波那契序列
if __name__ == "__main__":
    # 随便打印一个
    
    a,b = 0,1
    i = 1
    while i<10:
        a,b = b,a+b
        i = i+1
        print(f"a的值为{a},b的值为{b}.")# 多个print之间会换行
    # 使用end 避免换行
    c,d = 0,1
    while d<1024:
        c,d = d,c+d;
        print(f"c的值为{c},d的值为{d}.",end=",")